<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p3_CSS常用值</title>
    <style>
        h1{
            color: red;
            color: rgb(255,0,0);
            color: rgb(0,255,255);
            color: rgb(0,255,0);
            color: rgb(255,0,255);
            color: rgb(0,0,255);
            color: rgb(255,255,0);
            color: rgb(255,255,255);
            color: rgb(0,0,0);
            color: rgb(128,128,128);

            color: #ff0000;
            color: #00ff00;
            color: #0000ff;
            color: #ffffff;
            color: #000000;
            color: #808080;

            color: #f00;
            color: #0f0;
            color: #00f;
            color: #fff;
            color: #000;
            color: #808080;

            color: rgba(0,0,255,1);
            color: rgba(0,0,255,0.7);
            color: rgba(0,0,255,0.6);
            color: rgba(0,0,255,0.5);
            color: rgba(0,0,255,0.2);
            color: rgba(0,0,255,0);
        }
        .d1{
            width: 500px;
            height: 300px;
            background-image: linear-gradient(66deg,red,green,blue,pink,purple);
        }
        .d2{
            width: 75px;
            height: 100px;
            background-image: url(../day01/img/jt.png);
            background-size: 75px 100px;
            background-color: #000;
        }
        .d3{
            width: 500px;
            height: 300px;
            border: 5px solid red;
            background-image: url(../day01/img/jt.png) ;
            background-size: 75px 100px;
            background-repeat: no-repeat;
            background-position: 50px 100px;
            background-position: 50% 50%;
        }
    </style>
</head>
<body>
    <h1>测试颜色</h1>
    <div class="d1"></div>
    <div class="d2"></div>
    <div class="d3"></div>
</body>
</html>